using System.Runtime.Serialization;

namespace SharedObjects
{
	[DataContract]
	[ReferencedBy(typeof(SystemDirectory))]
	public class ProgramFile : SystemFile
	{
		[DataMember]
		public int VersionOverride { get; set; }
		[DataMember]
		public int BasePriceOverride { get; set; }
		[DataMember]
		public int Version { get; set; }
		[DataMember]
		public int BasePrice { get; set; }
		[DataMember]
		public bool AllowModify { get; set; }

		[DataMember]
		[Required]
		public Program Program { get; set; }
	}
}